<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>精灵图</title>
    <style>
        div {
            width: 150px;
            height: 200px;
        }

        .c {
            background-image: url(./精灵图.png);
            background-repeat: no-repeat;
            background-position: -345px 0px;
        }

        .t {
            background-image: url(./精灵图.png);
            background-repeat: no-repeat;
            background-position: -530px -590px;
        }

        .h {
            background-image: url(./精灵图.png);
            background-repeat: no-repeat;
            background-position: -315px -185px;
        }
    </style>
</head>

<body>
    <div class="c"></div>
    <div class="t"></div>
    <div class="h"></div>
</body>

</html>